﻿using System;
using System.Collections.Generic;
using System.Text;

//插件接口命名空间
namespace app_plugin_api
{
    /// <summary>
    /// 插件程序API接口
    /// </summary>
    public interface IPluginAPI
    {
        /// <summary>
        /// 发送一条新闻
        /// </summary>
        /// <param name="news">新闻数据结构</param>
        /// <returns>返回消息</returns>
        string SendNews(News news);
    }
}